/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-09-14 12:31:39
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2023-09-19 11:40:23
 * @FilePath: \mould\src\components\BehaViorManage\workYear\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {

    //工作计划信息新增options
    formObj: [{
            input: true, //是input
            label: "工程建设项目", //字段
            prop: "fConstructionpoject", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '工程建设项目不能为空'
            }] //验证
        }, {
            input: true, //是input
            label: "编制单位", //字段
            prop: "fUnit", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '编制单位不能为空'
            }] //验证
        },
        {
            year: true, //是input
            label: "隶属年度", //字段
            prop: "fAffiliationyear", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择隶属年度'
            }] //验证
        },
        {
            selects: true, //是input
            label: "隶属月份", //字段
            prop: "fAffiliationmonth", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择隶属月份'
            }], //验证
            options: [{
                    label: "/",
                    value: "/",
                },
                {
                    label: "1月份",
                    value: "1月份",
                },
                {
                    label: "2月份",
                    value: "2月份",
                },
                {
                    label: "3月份",
                    value: "3月份",
                }, {
                    label: "4月份",
                    value: "4月份",
                }, {
                    label: "5月份",
                    value: "5月份",
                }, {
                    label: "6月份",
                    value: "6月份",
                }, {
                    label: "7月份",
                    value: "7月份",
                }, {
                    label: "8月份",
                    value: "8月份",
                }, {
                    label: "9月份",
                    value: "9月份",
                }, {
                    label: "10月份",
                    value: "10月份",
                }, {
                    label: "11月份",
                    value: "11月份",
                }, {
                    label: "12月份",
                    value: "12月份",
                },
            ]
        }, {
            input: true, //是input
            label: "月报期次", //字段
            prop: "fMonthreport", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '月报期次不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "编制说明", //字段
            prop: "fWeaveexplain", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '编制说明不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "编制人", //字段
            prop: "fWeavename", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '编制人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "编制日期", //字段
            prop: "fWeavedates", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择填报日期'
            }] //验证
        },
        {
            label: "月报及相关资料", //字段
            prop: "fMonthfileurl", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: true,
                message: '请上传月报及相关资料'
            }] //验证
        },
        {




            select: true, //是input
            label: "提交审核人", //字段
            prop: "fSubcheckname", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用

            rules: [{
                required: true,
                message: '请选择传提交审核人'
            }], //验证
            options: []
        },
    ],
    //监理月报审核
    monthExamine: [{
            selects: true, //是input
            label: "审核结果", //字段
            prop: "fCheckstatus", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder: "请选择审核结果",
            options: [{
                    label: "内容详实，审核通过。",
                    value: "内容详实，审核通过。",
                },
                {
                    label: "内容不实，重新上报。",
                    value: "内容不实，重新上报。",
                }
            ],
            rules: [{
                required: true,
                message: '请选择审核结果'
            }] //验证
        },
        {
            input: true, //是input
            label: "审核说明", //字段
            prop: "fCheckdescription", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用

        },
        {
            input: true, //是input
            label: "审核人", //字段
            prop: "fCheckname", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '审核人不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "审核时间", //字段
            prop: "fCheckdates", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择审核时间'
            }] //验证
        },
    ],
    dialog_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
                label: "隶属年度",
                prop: "fAffiliationyear",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '隶属月份',
                prop: 'fAffiliationmonth',
                minWidth: '80px',

                align: "center",

            },
            {
                label: "月报期次",
                prop: "fMonthreport",
                minWidth: "80px",
                align: "center",
            },

            {
                label: "编制日期",
                prop: "fWeavedates",
                minWidth: "85px",
                align: "center",
            },


        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],

        },
    },
}